using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;

namespace SimpleFramework
{
    public enum BuildAssetType
    {
        SingleFile,
        SingleDirectory,
        AllDirectory,
    }

    [System.Serializable]
    public class BuildAssetDir
    {
        public string Path;
        public BuildAssetType type;
    }



    public class BuildAssetBundleSetting : ScriptableObject
    {
        public static readonly string AssetPath = "Assets/BuildAssetBundleSetting.asset";
        public string ExportPath = "bin/bundle";
        public List<BuildAssetDir> AssetDirs = new List<BuildAssetDir>();

        public static BuildAssetBundleSetting Load()
        {
            return AssetDatabase.LoadAssetAtPath<BuildAssetBundleSetting>(AssetPath);
        }
    }
}